All Packages Class Hierarchy This Package Previous Next Index
Interface com.sun.java.swing.event.DocumentListener
- public interface DocumentListener
- extends EventListener
Interface for an observer to register to receive notifications
of changes to a text document.
-
changedUpdate(DocumentEvent)
- Gives notification that an attribute or set of attributes changed.
-
insertUpdate(DocumentEvent)
- Gives notification that there was an insert into the document.
-
removeUpdate(DocumentEvent)
- Gives notification that a portion of the document has been
removed.
insertUpdate
public abstract void insertUpdate(DocumentEvent e)
- Gives notification that there was an insert into the document. The
given range bounds the freshly inserted region.
- Parameters:
- e - the document event
removeUpdate
public abstract void removeUpdate(DocumentEvent e)
- Gives notification that a portion of the document has been
removed. The range is given in terms of what the view last
saw (that is, before updating sticky positions).
- Parameters:
- e - the document event
changedUpdate
public abstract void changedUpdate(DocumentEvent e)
- Gives notification that an attribute or set of attributes changed.
- Parameters:
- e - the document event
All Packages Class Hierarchy This Package Previous Next Index